 package com.bmps.springcloud.insuredmicroservice.model.accept.resquest;

 import com.fasterxml.jackson.annotation.JsonProperty;
 import org.apache.commons.lang3.builder.EqualsBuilder;
 import org.apache.commons.lang3.builder.HashCodeBuilder;

 import java.io.Serializable;

 /**
  *  @author lyw
  *  @date 2019/07/24
  */
 public class HeaderModel implements Serializable {

	 private String requestType;
     @JsonProperty(value = "UUID")
	 private String UUID;

	 private String sendTime;

     public String getRequestType() {
         return requestType;
     }

     public void setRequestType(String requestType) {
         this.requestType = requestType;
     }
     @JsonProperty(value = "UUID")
     public String getUUID() {
         return UUID;
     }
     @JsonProperty(value = "UUID")
     public void setUUID(String UUID) {
         this.UUID = UUID;
     }

     public String getSendTime() {
         return sendTime;
     }

     public void setSendTime(String sendTime) {
         this.sendTime = sendTime;
     }

     @Override
     public boolean equals(Object o) {
         if (this == o) {
             return true;
         }

         if (o == null || getClass() != o.getClass()) {
             return false;
         }

         HeaderModel header = (HeaderModel) o;

         return new EqualsBuilder()
                 .append(requestType, header.requestType)
                 .append(UUID, header.UUID)
                 .append(sendTime, header.sendTime)
                 .isEquals();
     }

     @Override
     public int hashCode() {
         return new HashCodeBuilder(17, 37)
                 .append(requestType)
                 .append(UUID)
                 .append(sendTime)
                 .toHashCode();
     }

     @Override
     public String toString() {
         return "HeaderModel{" +
                 "requestType='" + requestType + '\'' +
                 ", UUID='" + UUID + '\'' +
                 ", sendTime='" + sendTime + '\'' +
                 '}';
     }
 }
